package com.wsc.it.techfuser.vo;

/**
 * 牵牛花2.3 api
 * test：
 *      url: http://stg-api.m-glory.net
 *      appid: 1718635223580672
 *      secret: cad84564-8784-4bd3-8b51-f7cc728b8b47
 * prod：
 *      url: http://openapi.m-glory.net
 *      appid: 1726246006292485
 *      secret: 4f9a821d-892c-4d06-8259-c4cfcf151746
 * @author chenjiajie
 * @date 2022-03-14
 */
public enum TechfuserEnum {
    GETSTORES("/qnh-api-boot/store/getStores","2.1 查询门店组织机构"),
    QUERYSTORE("/qnh-api-boot/store/queryStore","2.2 查询店铺信息"),
    GETITEMS("/qnh-api-boot/item/v2/query","3.1 查询商品（data_type：itemBase）"),
    GETORGITEMS("/qnh-api-boot/item/v2/query","3.2 查询门店商品列表（data_type：item）"),
    GETITEMPRICES("/qnh-api-boot/item/v2/query","3.3 查询商品价格（data_type：price）"),
    GETITEMSTOCKS("/qnh-api-boot/item/v2/query","3.4 查询商品库存（data_type：stock）"),
    FINDCATEGORY("/qnh-api-boot/item/v2/query","3.5 查询线上分类（data_type：category）"),
    UPDATEITEMSALESTATUS("/qnh-api-boot/item/updateItemSaleStatus","3.6 修改商品上下架状态"),
    UPDATEITEMSTATUS("/qnh-api-boot/item/updateItemStatus","3.7 修改商品售卖状态"),
    ASKFORRESENDIMAGE("/item/askForResendImage","3.10 请求重传商品图片接口"),
    QUERYDISCOUNTPROMOTIONHEAD("/promotion/queryDiscountPromotionHead","4.1 查询单品直降促销单头"),
    QUERYDISCOUNTPROMOTIONDETAIL("/promotion/queryDiscountPromotionDetail","4.2 查询单品直降促销单明细"),
    QUERYFULLDISCOUNTPROMOTIONHEAD("/promotion/queryFullDiscountPromotionHead","4.3 查询满减促销单头"),
    QUERYFULLDISCOUNTPROMOTIONDETAIL("/promotion/queryFullDiscountPromotionDetail","4.4 查询满减促销单明细"),
    QUERYACTIVEPROMOTIONCODE("/promotion/queryActivePromotionCode","4.5 查询有效促销单"),
    UPDATEPROMOTIONITEMREGIONSTATUS("/promotion/updatePromotionItemRegionStatus","4.7 接收促销门店明细变更接口"),
    ADDORDER("/order-v2/addorder","5.1 接收新订单和新退单"),
    PUSHSTATUSORDER("/order-v2/pushstatusorder","5.2 接收订单和退单状态"),
    PUSHEVALUATION("/order-v2/pushevaluation","5.3 接收评价信息"),
    GETORDERDETAIL("/order-v2/getorderdetail","5.4 获取牵牛花订单和退单详情"),
    GETRETURNAPPLY("/order-v2/getreturnapply","5.6 获取牵牛花退单申请"),
    ADDAPPLYRETURN("/order-v2/addApplyReturn","5.7 接收售后单申请接口"),
    PUSHSTATUSAPPLYRETURN("/order-v2/pushStatusApplyReturn","5.8 接收退单申请单状态接口"),
    PICKUP("/pick-v2/pickup","6.1 接收拣货完成消息");

    private String url;
    private String desc;

    TechfuserEnum(String url, String desc){
        this.url=url;
        this.desc=desc;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
